package dp.observer;

import dp.observer.weather.WeatherDataCollector;
import dp.observer.weather.board.CurrentConditionBoard;
import dp.observer.weather.board.StaticticsBoard;

public class WeatherApp {


	public static void main(String[] args) {
		WeatherDataCollector wdc = new WeatherDataCollector();
		//CurrentConditionBoard ccb = 
			new CurrentConditionBoard(wdc);
		StaticticsBoard sb = new StaticticsBoard(wdc);
		
		wdc.collectWeatherData();
		wdc.removeObserver(sb);
		System.out.println();
		wdc.collectWeatherData();
		
	}

}
